What is define cavity search?

A cavity search is a thorough search of an individual's body cavities for contraband or evidence of a crime. This search is typically performed by law enforcement officers in an institutional setting, such as a correctional facility or jail, or during an arrest process. The search may involve the use of medical tools and equipment, such as speculums or colonoscopes, to inspect the individual's anus, vagina, or rectum. The search is considered to be invasive and requires a high level of justification and oversight. Furthermore, it is only performed when other search methods have failed or when there is probable cause to believe that the individual has hidden contraband inside their body cavities. The legality and ethics of performing a cavity search have been subject to controversy, and the practice is heavily regulated to prevent abuses of power and protect the rights of individuals subjected to such searches.